﻿exports.alinode = {
    // 从 `Node.js 性能平台` 获取对应的接入参数
    appid: '86917',
    secret: 'f1c147122c8ee663ac8fd1fb15c67824f7b3d528',
};

exports.sequelize = {
    datasources: [
        {
            dialect: 'mssql',
            host: '127.0.0.1',
            port: 1433,
            username: 'sa',
            password: 'sss',
            database: 'toledo_aw',
            delegate: 'model',
            baseDir: 'model',  //sequelize和mongoose不能同时共存解决方案
            define: {
              schema: "dbo" //定义表名的前缀
            },
            timezone: '+08:00',
            logging: false          // 禁止日志输出, 不执行SQL打印  不写入日志文件
        }
        //...the other database
    ]
};

exports.oss = {
    client: {
        accessKeyId: 'LTAI4GHo7MYGKzTbxDRMJedr',
        accessKeySecret: 'Ry0yFa9rOgXCP1gLsuB44BWDLVmUlt',
        bucket: 'weiming-sis',
        endpoint: 'oss-cn-shanghai-internal.aliyuncs.com',
        timeout: '60s',
    },
};

exports.logger = {
    level: 'WARN'   //只会输出 WARN 及以上（ERROR）的日志到文件中
};
